Event Params
Creates a new instance of EventParams with the given parameters.
Since
8.0.0
Parameters
bubbles
Specifies whether the event bubbles up through the DOM.
cancelable
Specifies whether the event can be canceled, and therefore prevented as if it never occurred.